<%--
  Created by IntelliJ IDEA.
  User: nananer7
  Date: 2018/3/22
  Time: 17:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    session.removeAttribute("username");//删除指定名称的绑定对象session还在
    session.invalidate();//将session设为失效
    out.print("<script>window.location.href='index.jsp'</script>");
%>
